<div class="container">
    <div class="span12 offset0 posicaoAbsolute" >
        <form action="{$smarty.const.URL}banco/logout.php" method="post" id="form-logout" name="form-logout" class="margin0">
            <div class="btn-group floatRight">
                <a class="btn corPadrao" {if $smarty.session.id_usuario}data-toggle="dropdown"{/if} style="background-image: none !important;background-color: transparent !important;" href="{if $smarty.session.id_usuario}#{else}{$smarty.const.URL_PASTA_SITE}login/{/if}">{if $smarty.session.id_usuario}Bem Vindo,{else}Login{/if} &nbsp;<i class="icon-user icon-white"></i><strong>&nbsp;{if $smarty.session.id_usuario}{$NOME_USUARIO}{/if}</strong>&nbsp;</a>
                        {if $smarty.session.id_usuario}
                    <a class="btn dropdown-toggle corPadrao" style="background-image: none !important;background-color: transparent !important;" data-toggle="dropdown" href="#"><span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="{$smarty.const.PASTA_PORTAL_URL}perfil/"><i class="icon-pencil"></i>Meu Perfil</a></li>
                        <li class="divider"></li>
                        <li><a href="javascript:void(0);" onclick="jQuery('#form-logout').submit();"><i class="icon-ban-circle"></i>Sair</a></li>
                    </ul>            
                {/if}
            </div>
        </form>
    </div>
</div>